package com.echo.echovividlive.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.echo.echovividlive.domain.dto.LiveRoomPageDTO;
import com.echo.echovividlive.domain.entity.LiveRoom;
import com.echo.echovividlive.domain.entity.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiajunjie
 * @since 2024-11-26
 */
public interface ILiveRoomService extends IService<LiveRoom> {

    Result living(LiveRoom liveRoom);

    Result getCountByRoomId(Integer roomId);

    Result pageList(LiveRoomPageDTO pageQueryDTO);

    Result uploadCover(MultipartFile file);

    Result getRoomInfoById(Integer roomId);

    void closeLiving(Integer roomId);
}
